package com.gskj.eduservice.service;

import com.gskj.eduservice.entity.EduSubject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gskj.eduservice.entity.subject.FirstSubject;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 课程科目 服务类
 * </p>
 *
 * @author testjava
 * @since 2020-05-16
 */
public interface IEduSubjectService extends IService<EduSubject> {

    /***
     *  添加课程分类
     * @param multipartFile
     */
    void saveSubject(MultipartFile multipartFile,IEduSubjectService iEduSubjectService);

    /***
     *  查询 树形结构的 一级二级集合
     * @return
     */
    List<FirstSubject> getTreeSubject();
}
